local t = Def.ActorFrame {};

-- Text

t[#t+1] = Def.ActorFrame {
	InitCommand=function(self) self:xy(SCREEN_CENTER_X,SCREEN_TOP+25):zoom(0.6):zoomy(0):diffusealpha(1) end;
	OnCommand=function(self) self:sleep(0.2):linear(0.15):zoomy(0.6) end;
	OffCommand=function(self) self:sleep(0.2):linear(0.15):zoomx(0.9):zoomy(0) end;
	LoadActor("_headerframe")..{};
	LoadFont("_coaster") .. {
		Name="HeaderText";
		Text=string.upper( Screen.String("HeaderText") );
		InitCommand=function(self) self:diffusealpha(0):maxwidth(300):zoom(1.2) end;
		OnCommand=function(self) self:sleep(0.5):diffuse(color("#FFFFFF")):queuecommand("FlickerOn") end;
		OffCommand=function(self) self:queuecommand("FlickerOff") end;
		FlickerOnCommand=function(self) self:diffusealpha(1):sleep(0.03):diffusealpha(0):sleep(0.03):diffusealpha(1):sleep(0.03):diffusealpha(0):sleep(0.03):diffusealpha(1) end;
		FlickerOffCommand=function(self) self:diffusealpha(0):sleep(0.03):diffusealpha(1):sleep(0.03):diffusealpha(0):sleep(0.03):diffusealpha(1):sleep(0.03):diffusealpha(0) end;
		UpdateScreenHeaderMessageCommand=function(self,param)self:settext(param.Header) end;
	};
};	

return t